<? 
	global $FullUrl, $lg, $articles; 
	
?>
<?
	if($articles)
	{
?>
<div id="featured">
    <div id="demo5Slider" class="evoslider default"> <!-- start evo slider -->
      <dl>
      <?
      	for ($i = 0; $i < count($articles); $i++) {
        $art = $articles[$i];
        $rs = $art['img'];
        $img = GetImage($rs);

        $link = GetArtLinkCMSFull($art, $lg);
        $w = 164;
        $h = 164;
        $sizes = fixSize($img, $w, $h);
        $sizes_img_true = getimagesize($img);
        //print_r($sizes);

        $url_image = $img;
	  ?>
      
        <dt>
        <?= $art["name_" . $lg] ?>
        </dt>
        <dd data-src="<?=$FullUrl?>/<?=$url_image?>" data-text="overlay" 
	                    data-thumb="<?=$FullUrl?>/<?=$url_image?>">
          <div class="evoText"> <a href="<?= $link ?>" title="<?= $art["name_" . $lg] ?>" rel="bookmark" target="_blank">
            <h3><?= $art["name_" . $lg] ?></h3>
            <p> <?=$art['short_vn']?> </p>
            </a> </div>
        </dd>
      
      <?
		}
	  ?>
      </dl>
    </div>
    <!-- end evo slider --> 
    
    <br />
  </div>
<?
	}
?>  